package fr.jade.fraclite.control.name;

import org.objectweb.fractal.api.control.NameController;
import org.objectweb.fractal.api.factory.InstantiationException;

import fr.jade.fraclite.InitializationContext;
import fr.jade.fraclite.api.Controller;

/**
 * Provides a basic implementation of the {@link NameController} interface.
 * <br>
 * <br>
 * <b>Requirements</b>
 * <ul>
 * <li>none.</li>
 * </ul>
 */

public class BasicNameController implements Controller, NameController {

  /**
   * The name of the component to which this controller object belongs.
   */

  public String name;

  public void initFcController(InitializationContext ic) throws InstantiationException {
  }
  
  public String getFcName () {
    return name;
  }

  public void setFcName (final String name) {
    this.name = name;
  }

}
